<%@page pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <link rel="stylesheet" href="/resources/CSS/main.css" type="text/css">
    <meta charset="UTF-8">
    <title>users</title>
</head>
<body>
当前登录用户:<span class="loginuser">${loginUser.loginName}</span><br>
<a href="add">添加</a><br>
<c:forEach items="${users}" var="user">
    ${user.userId}----<a href="${user.userId}">${user.userName}</a>---${user.userAge}
    ----<a href="${user.userId}/update">修改</a> -----<a href="${user.userId}/delete">删除</a><br>
</c:forEach>
<a href="${pageContext.request.contextPath}/list?page=${pageInfo.prePage}&rows=${pageInfo.pageSize}&countryname=${queryParam.countryname}&countrycode=${queryParam.countrycode}">前一页</a>
</body>
</html>